package viewIHM;

import java.awt.event.ActionEvent;

import javax.swing.AbstractAction;


public class CloseAction  extends AbstractAction  {

	private static final long serialVersionUID = 1L;
	private ChatGUIView fenetre ;
	
	public CloseAction(ChatGUIView fenetre,String name){
		super(name);
		this.fenetre = fenetre ;
	}
	
	public void actionPerformed(ActionEvent e) {
		fenetre.closeConversation();
	}
	
}
